package com.ouc.eddyAlgorithm.domain;

import com.ouc.common.annotation.Excel;
import com.ouc.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 港口对象 sys_port
 *
 * @author ouc
 * @date 2025-06-18
 */
public class SysPort extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /**
   * $column.columnComment
   */
  private Long id;

  /**
   * 港口名称
   */
  @Excel(name = "港口名称")
  private String name;

  /**
   * 经度
   */
  @Excel(name = "经度")
  private Double lon;

  /**
   * 纬度
   */
  @Excel(name = "纬度")
  private Double lat;

  public void setId(Long id) {
    this.id = id;
  }

  public Long getId() {
    return id;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getName() {
    return name;
  }

  public void setLon(Double lon) {
    this.lon = lon;
  }

  public Double getLon() {
    return lon;
  }

  public void setLat(Double lat) {
    this.lat = lat;
  }

  public Double getLat() {
    return lat;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("id", getId())
        .append("name", getName())
        .append("lon", getLon())
        .append("lat", getLat())
        .toString();
  }
}
